home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / BackSpaceViews / SpiralView.BackModule / Source / Makefile.postamble < prev    next >
Encoding:
Makefile  |  1996-01-31  |  479 b   |  13 lines

  1. NEW_BUNDLE_EXTENSION = .BackModule
  2. BINARY_EXTENSION = .BackO
  3. INSTALL_BUNDLE = ${DSTROOT}/${INSTALLDIR}/${NAME}
  4.  
  5. #remove previous module
  6. #move new module to new name
  7. #change binary name to new name
  8. after_install::
  9.     ${RM} -rf ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}
  10.     ${MV} ${INSTALL_BUNDLE}.${BUNDLE_EXTENSION} ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}
  11.     ${MV} ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}/${NAME} \
  12.         ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}/${NAME}${BINARY_EXTENSION}
  13.